package com.szewec.ps.model.user;

import com.szewec.ps.myinterface.IUserInfo;

import java.io.Serializable;

/**
 * 平台用户对象
 */
public class UserModel implements Serializable, IUserInfo {

    private String id;
    private String name;
    private String accountId;
    private String companyId;
    private String companyName;
    private String username;
    private String phoneNumber;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    @Override
    public String getUserId() {
        return this.id;
    }
    @Override
    public String getUserName() {
        return this.name;
    }
}
